/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmDiagnosa.java
 *
 * Created on Jan 24, 2012, 3:27:17 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmDiagnosa extends Form {

    /** Creates new form frmDiagnosa */
    public frmDiagnosa() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        label7 = new SIMRS.RawatInap.widget.Label();
        cmbTanggalDiagnosa = new javax.swing.JComboBox();
        label8 = new SIMRS.RawatInap.widget.Label();
        label6 = new SIMRS.RawatInap.widget.Label();
        txtUmur = new SIMRS.RawatInap.widget.TextBox();
        label5 = new SIMRS.RawatInap.widget.Label();
        txtDokter = new SIMRS.RawatInap.widget.TextBox();
        btnKeluar = new SIMRS.RawatInap.widget.button2();
        btnTambah = new SIMRS.RawatInap.widget.button2();
        btnSimpan = new SIMRS.RawatInap.widget.button2();
        btnBatal = new SIMRS.RawatInap.widget.button2();
        label1 = new SIMRS.RawatInap.widget.Label();
        txtNoRM = new SIMRS.RawatInap.widget.TextBox();
        label9 = new SIMRS.RawatInap.widget.Label();
        txtNamaDiagnosa = new SIMRS.RawatInap.widget.TextBox();
        txtNoRegistrasi = new SIMRS.RawatInap.widget.TextBox();
        txtNama = new SIMRS.RawatInap.widget.TextBox();
        txtKodeDiagnosa = new SIMRS.RawatInap.widget.TextBox();
        label4 = new SIMRS.RawatInap.widget.Label();
        label3 = new SIMRS.RawatInap.widget.Label();
        label10 = new SIMRS.RawatInap.widget.Label();
        txtTanggalDiagnosa = new com.toedter.calendar.JDateChooser();
        label2 = new SIMRS.RawatInap.widget.Label();

        setTitle("[ :: Diagnosa Pasien  :: ]");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_TOP);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_TOP);
        setResizable(false);
        setUndecorated(true);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlForm1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(112, 138, 31), 3, true));
        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label7.setText("Tanggal Diagnosa");
        pnlForm1.add(label7, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 170, -1, 20));

        cmbTanggalDiagnosa.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        pnlForm1.add(cmbTanggalDiagnosa, new org.netbeans.lib.awtextra.AbsoluteConstraints(420, 200, 160, -1));

        label8.setText("Jenis Diagnosa");
        pnlForm1.add(label8, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 210, -1, 10));

        label6.setText("Dokter");
        pnlForm1.add(label6, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 180, -1, 10));
        pnlForm1.add(txtUmur, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 120, 90, -1));

        label5.setText("Umur");
        pnlForm1.add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 100, -1, -1));
        pnlForm1.add(txtDokter, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 120, 140, -1));

        btnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        btnKeluar.setText("Keluar");
        btnKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 320, -1, -1));

        btnTambah.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_tambah.png"))); // NOI18N
        btnTambah.setText("Tambah");
        pnlForm1.add(btnTambah, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 320, -1, -1));

        btnSimpan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_simpan.png"))); // NOI18N
        btnSimpan.setText("Simpan");
        pnlForm1.add(btnSimpan, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 320, -1, -1));

        btnBatal.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_batal.png"))); // NOI18N
        btnBatal.setText("Batal");
        pnlForm1.add(btnBatal, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 320, -1, -1));

        label1.setForeground(new java.awt.Color(255, 255, 255));
        label1.setText("Form Diagnosa");
        label1.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label1, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 40, -1, 26));
        pnlForm1.add(txtNoRM, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 170, 210, -1));

        label9.setText("Nama Diagnosa");
        pnlForm1.add(label9, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 240, -1, 20));
        pnlForm1.add(txtNamaDiagnosa, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 270, 170, -1));
        pnlForm1.add(txtNoRegistrasi, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 120, 120, -1));
        pnlForm1.add(txtNama, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 120, 190, -1));
        pnlForm1.add(txtKodeDiagnosa, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 270, 170, -1));

        label4.setText("Nama");
        pnlForm1.add(label4, new org.netbeans.lib.awtextra.AbsoluteConstraints(320, 100, -1, -1));

        label3.setText("No RM");
        pnlForm1.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 100, -1, -1));

        label10.setText("Kode Diagnosa");
        pnlForm1.add(label10, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 250, -1, 10));
        pnlForm1.add(txtTanggalDiagnosa, new org.netbeans.lib.awtextra.AbsoluteConstraints(420, 170, 160, -1));

        label2.setText("No Registrasi");
        pnlForm1.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 100, -1, -1));

        getContentPane().add(pnlForm1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 620, 390));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-621)/2, (screenSize.height-390)/2, 621, 390);
    }// </editor-fold>//GEN-END:initComponents

    private void btnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarActionPerformed
        this.dispose();
        frmTransaksiPelayanan transPelayanan=new frmTransaksiPelayanan();
        transPelayanan.setVisible(true);
    }//GEN-LAST:event_btnKeluarActionPerformed

    private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
        dispose();
    }//GEN-LAST:event_formWindowClosing

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.button2 btnBatal;
    private SIMRS.RawatInap.widget.button2 btnKeluar;
    private SIMRS.RawatInap.widget.button2 btnSimpan;
    private SIMRS.RawatInap.widget.button2 btnTambah;
    private javax.swing.JComboBox cmbTanggalDiagnosa;
    private SIMRS.RawatInap.widget.Label label1;
    private SIMRS.RawatInap.widget.Label label10;
    private SIMRS.RawatInap.widget.Label label2;
    private SIMRS.RawatInap.widget.Label label3;
    private SIMRS.RawatInap.widget.Label label4;
    private SIMRS.RawatInap.widget.Label label5;
    private SIMRS.RawatInap.widget.Label label6;
    private SIMRS.RawatInap.widget.Label label7;
    private SIMRS.RawatInap.widget.Label label8;
    private SIMRS.RawatInap.widget.Label label9;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.TextBox txtDokter;
    private SIMRS.RawatInap.widget.TextBox txtKodeDiagnosa;
    private SIMRS.RawatInap.widget.TextBox txtNama;
    private SIMRS.RawatInap.widget.TextBox txtNamaDiagnosa;
    private SIMRS.RawatInap.widget.TextBox txtNoRM;
    private SIMRS.RawatInap.widget.TextBox txtNoRegistrasi;
    private com.toedter.calendar.JDateChooser txtTanggalDiagnosa;
    private SIMRS.RawatInap.widget.TextBox txtUmur;
    // End of variables declaration//GEN-END:variables
}
